﻿using Appliaction.Dto.FG;
using Appliaction.Dto.Pinv;
using AutoMapper;
using Domain.Entitys.FG;
using Domain.Entitys.Pinv;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Appliaction.Profiles.FG
{
    public class FG_Picking_OutboundProfile: Profile
    {
        public FG_Picking_OutboundProfile()
        {
            CreateMap<FG_Picking_Outbound, FG_Picking_Outbound_DeleteDto>().ReverseMap();

            CreateMap<FG_Picking_Outbound, FG_Picking_Outbound_AddDto>().ReverseMap();
            CreateMap< Fg_Picking_Outbound_Details, Fg_Picking_Outbound_DetailsAddDto >().ReverseMap();

            CreateMap<FG_Picking_Outbound, Fg_Picking_Outbound_DetailsUpdateDto >().ReverseMap();//?????
            CreateMap< Fg_Picking_Outbound_Details, Fg_Picking_Outbound_DetailsUpdateDto >().ReverseMap();
            CreateMap<FG_Picking_Outbound, FG_Picking_Outbound_UpdateDto>().ReverseMap();

            CreateMap<FG_Picking_Outbound, FG_Picking_Outbound_AuditDto>().ReverseMap();
            CreateMap<Fg_Picking_Outbound_Details, Fg_Picking_Outbound_DetailsAuditDto>().ReverseMap();

        }
    }
}
